package cn.felord.spring.security.controller;

import cn.felord.spring.security.entity.Echarts;
import cn.felord.spring.security.service.IEchartsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.*;

/**
 * @author tianyingke
 * @desc
 * @date 2021-07-13 15:10:56
 */
@RestController
@RequestMapping("/echarts")
public class EchartsCntroller {
    @Autowired
    private IEchartsService service;
    @GetMapping(value = "/list")
    public List<Integer> getAllEcharts(){

        List list=new ArrayList();
        list.add(5);
        list.add(5);
        list.add(5);
        list.add(5);
        list.add(5);
        return  list;
    }
}
